package com.haixiaoke.saas.setSwitch.domain;

import com.haixiaoke.saas.common.annotation.Excel;
import com.haixiaoke.saas.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 订单审核状态对象 biz_order_auditing
 *
 * @author qixi
 * @date 2024-03-28
 */
@Data
public class SetSwitch extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 审核状态 ：1 关闭
     */
    public final static String AUDITING_STATE_OFF = "1";

    /**
     * 审核状态 ：2 开启
     */
    public final static String AUDITING_STATE_ON = "2";


    /** id */
    private Long setSwitchId;

    /** 租户id */
    @Excel(name = "租户id")
    private String tenantId;

    /** 签约审核状态：1关闭 2开启 */
    @Excel(name = "签约审核状态",readConverterExp = "1=关闭,2=开启",combo =  {"关闭","开启"})
    private String oSigningState;

    /** 退租审核状态：1关闭 2开启  */
    @Excel(name = "退租审核状态",readConverterExp = "1=关闭,2=开启",combo =  {"关闭","开启"})
    private String oRentingOutState;

    /** 换房审核状态：1关闭 2开启  */
    @Excel(name = "换房审核状态",readConverterExp = "1=关闭,2=开启",combo =  {"关闭","开启"})
    private String oExchangeHouseState;

    /** 转租审核状态：1关闭 2开启  */
    @Excel(name = "转租审核状态",readConverterExp = "1=关闭,2=开启",combo =  {"关闭","开启"})
    private String oSubleaseState;

    /** 续租审核状态：1关闭 2开启  */
    @Excel(name = "续租审核状态",readConverterExp = "1=关闭,2=开启",combo =  {"关闭","开启"})
    private String oContinueLeaseState;

    /** 订单超时关闭状态：1关闭 2开启  */
    @Excel(name = "订单超时关闭状态",readConverterExp = "1=关闭,2=开启",combo =  {"关闭","开启"})
    private String oTimeOutOffState;

    /**
     * 工单提交预约看房审核: 1关闭 2开启
     */
    private String woLookHouseCreate;

    /**
     * 工单申请临时密码审核: 1关闭 2开启
     */
    private String woLookHouseReqPwd;

    /**
     * 工单预约看完房上传图片状态: 1关闭 2开启
     */
    private String woLookHouseUploadImage;


    public static SetSwitch initialize(){
        SetSwitch orderAuditing = new SetSwitch();
        orderAuditing.setoContinueLeaseState(AUDITING_STATE_OFF);
        orderAuditing.setoExchangeHouseState(AUDITING_STATE_OFF);
        orderAuditing.setoSubleaseState(AUDITING_STATE_OFF);
        orderAuditing.setoSigningState(AUDITING_STATE_OFF);
        orderAuditing.setoRentingOutState(AUDITING_STATE_OFF);
        orderAuditing.setoTimeOutOffState(AUDITING_STATE_OFF);
        orderAuditing.setWoLookHouseCreate(AUDITING_STATE_OFF);
        orderAuditing.setWoLookHouseReqPwd(AUDITING_STATE_OFF);
        orderAuditing.setWoLookHouseUploadImage(AUDITING_STATE_OFF);
        return orderAuditing;
    }

    public String getoSigningState() {
        return oSigningState;
    }

    public void setoSigningState(String oSigningState) {
        this.oSigningState = oSigningState;
    }

    public String getoRentingOutState() {
        return oRentingOutState;
    }

    public void setoRentingOutState(String oRentingOutState) {
        this.oRentingOutState = oRentingOutState;
    }

    public String getoExchangeHouseState() {
        return oExchangeHouseState;
    }

    public void setoExchangeHouseState(String oExchangeHouseState) {
        this.oExchangeHouseState = oExchangeHouseState;
    }

    public String getoSubleaseState() {
        return oSubleaseState;
    }

    public void setoSubleaseState(String oSubleaseState) {
        this.oSubleaseState = oSubleaseState;
    }

    public String getoContinueLeaseState() {
        return oContinueLeaseState;
    }

    public void setoContinueLeaseState(String oContinueLeaseState) {
        this.oContinueLeaseState = oContinueLeaseState;
    }

    public String getoTimeOutOffState() {
        return oTimeOutOffState;
    }

    public void setoTimeOutOffState(String oTimeOutOffState) {
        this.oTimeOutOffState = oTimeOutOffState;
    }
}
